
students_dict = dict(zhang=103, li=101, wang=102)
print(students_dict)


d = dict([
    ("zhang", 103),
    ("li", 101),
    ("wang", 102)
])
print(d)


students = [("zhang", 103),  ("li", 101), ("wang", 102)]
stu_dict = {}
for item in students:
    stu_dict[item[0]] = item[1]
print(stu_dict)